|
Radar Host Communication library
2020.08.13
|
This file contains the API methods applicable generically to Industrial radar demo Sence2Go-Pulse and Distance2GoL. More...
Go to the source code of this file.
Data Structures | |
| struct | get_raw_data_cnf_t |
| This struct holds all information about a single frame of radar data. More... | |
| struct | get_raw_data_cnf_ctx_t |
Typedefs | |
| typedef void(* | get_raw_data_cnf_callback_t) (get_raw_data_cnf_ctx_t *p_context, int32_t protocol_handle, uint8_t endpoint, get_raw_data_cnf_t *ps_raw_data) |
Enumerations | |
| enum | Rx_Data_Format_t { EP_RADAR_BASE_RX_DATA_REAL = 0, EP_RADAR_BASE_RX_DATA_COMPLEX = 1, EP_RADAR_BASE_RX_DATA_COMPLEX_INTERLEAVED = 2 } |
| This enumeration type lists the possible formats of sampled radar data. More... | |
| enum | Signal_Part_t { EP_RADAR_BASE_SIGNAL_ONLY_I = 0, EP_RADAR_BASE_SIGNAL_ONLY_Q = 1, EP_RADAR_BASE_SIGNAL_I_AND_Q = 2 } |
| This enumeration type lists the possible signals parts formats of sampled radar data. More... | |
This file contains the API methods applicable generically to Industrial radar demo Sence2Go-Pulse and Distance2GoL.
Definition in file radar_common.h.
| typedef void(* get_raw_data_cnf_callback_t) (get_raw_data_cnf_ctx_t *p_context, int32_t protocol_handle, uint8_t endpoint, get_raw_data_cnf_t *ps_raw_data) |
Definition at line 214 of file radar_common.h.
| enum Rx_Data_Format_t |
This enumeration type lists the possible formats of sampled radar data.
The format of sampled radar data acquired by the driver and retrieved through a struct of type Frame_Info_t by calling ep_radar_base_get_frame_data depends on the radar sensor hardware.
The radar front end comprises a mixer that demodulates the RF signal received through the connected antennas down to the base band, where it is captured by an Analog/Digital Converter (ADC). A RF mixer can output two signals with a phase shift of 90?, called I-signal and Q-signal. These two signals can be considered to be real and imaginary part of a complex valued signal. Depending on the sensor hardware, the sensor may be able to capture only one or both signals with its ADCs.
If only one signal is captured, the radar frame data is real valued, so a block of N samples consists of N values. If both signals are captured, a block of N samples consists of 2*N values, which may be interleaved (each real value is followed by the according imaginary value) or straight (N real samples followed by N imaginary samples).
Definition at line 46 of file radar_common.h.
| enum Signal_Part_t |
This enumeration type lists the possible signals parts formats of sampled radar data.
If the device is capable to capture complex signal data (I and Q), the values of this enumeration allow to chose between the full complex signal, or just the real or imaginary signal part.
A value of this type is part of the struct Frame_Format_t.
Definition at line 72 of file radar_common.h.